add_definitions(-DTRANSLATION_DOMAIN=\"kdevfilemanager\")

set(kdevfilemanager_PART_SRCS
    kdevfilemanagerplugin.cpp
    filemanager.cpp
    bookmarkhandler.cpp
)
declare_qt_logging_category(kdevfilemanager_PART_SRCS
    TYPE PLUGIN
    IDENTIFIER PLUGIN_FILEMANAGER
    CATEGORY_BASENAME "filemanager"
)
qt5_add_resources(kdevfilemanager_PART_SRCS kdevfilemanager.qrc)
kdevplatform_add_plugin(kdevfilemanager JSON kdevfilemanager.json SOURCES ${kdevfilemanager_PART_SRCS})
target_link_libraries(kdevfilemanager
    KDev::Interfaces
    KDev::Sublime
    KF5::Bookmarks
    KF5::KIOCore
    KF5::KIOFileWidgets
    KF5::KIOWidgets
    KF5::TextEditor
)
